
<?php 
	$User = new User();
	$Login = new Login();
	//print_r($_COOKIE);
	if($Login->checkLogin()){
		// Stuff auslesen
		echo "Welcome ".$User->getName($_COOKIE['login']['steamID'])." ";
		echo '<input name="logout" class="btn-small btn-danger" type="submit" value="Logout"/>';
	}
	else{
		echo '<input class="navbar-text" type="image" src="'.HOME_PATH.'img/sits_small.png" name="steam_signin" id="steam_signin" style="padding-top:8px;">';
 }
?>

